#pragma once

#include "Types.h"

class CLocalPane;
class CWnd;
class CDC;
class CElement;

class CNextElementPane
{
public:
    CNextElementPane(CLocalPane* pSquarePane, CWnd* pWnd);
    ~CNextElementPane();

    void DrawNextElement(bool bGetNext = true);

    void Restart();

private:
    void Init();
    void DrawBackground();

private:
    CWnd        *m_pPaneWnd;
    CDC         *m_pPaneDC;
    CLocalPane *m_pSquarePane;

    CElement    *m_pNextElement;

    UINT    m_nSquareWidth;
    CRect   m_rectPane;

};